<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>QQ导航栏</title>
</head>
<style>
    div{
        border: 1px solid black;
        width: 1180px;
        height: 80px;
        background-color: rgba(0,0,0,0.5);
        padding-left: 80px;
    }
    ul{
        list-style: none;
        display: inline-block;
    }
    li{
        display: inline-block;
        margin-left: 10px;
    }
    div>img{
        vertical-align: middle;
    }
    li>a{
        color: white;
        text-decoration: none;
    }
    li>a:hover{
        color: blue;
    }
    .p1{
        border: 1px solid yellow;
        margin-left: 80px;
        display: inline-block;
        width: 70px;
        height: 30px;
        text-align: center;
        line-height: 30px;
        border-radius: 30px;
        color: yellow;
        text-decoration: none;
    }
    .p2{
        border: 1px solid yellow;
        display: inline-block;
        width: 120px;
        height: 30px;
        text-align: center;
        line-height: 30px;
        border-radius: 30px;
        color: yellow;
        text-decoration: none;
    }
    .p1:hover,.p2:hover{
        font-weight: bold;
        background-color: orange;
    }
</style>
<body>
<div>
    <img src="img/logo.png" width="150px">
    <ul>
        <li> <a href="#">功能特权</a></li>
        <li> <a href="#">游戏特权</a></li>
        <li> <a href="#">生活特权</a></li>
        <li> <a href="#">会员活动</a></li>
        <li> <a href="#">成长体系</a></li>
        <li> <a href="#">年费专区</a></li>
        <li> <a href="#">超级会员</a></li>
    </ul>
    <a href="#" class="p1"> 登录</a>
    <a href="#" class="p2">开通超级会员</a>
</div>
</body>
</html>